import 'package:flutter/material.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBEngineer/YBBaseRouter/YBApplication.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBColor/YBColor.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBTextStyle/YBTextStyle.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/yb_chinese_text/yb_chinese_text.dart';

import 'YBMiShuSubPage/YBMiShuTongCommonSubPage.dart';

class YBYiJiTongPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
        child: Scaffold(
          appBar: AppBar(
            elevation: 0,
            title: Text(
              YBChineseText.workTaiZhuanShuYingYongYiJiTongTitle, style: YBTextStyle.TextStyle30313320Medium
            ),
          ),
          body: SingleChildScrollView(
            child: Column(
              children: [
                Container(
                  height: YBTextStyle.adapterSize16,
                ),
                Container(
                  height: YBTextStyle.adapterSize58,
                  color: YBColor.white,
                  child: InkWell(
                    child: YBMiShuTongCommonSubPage(imageStr:'mishu_shangjikuImage',titleStr: YBChineseText.workTaiShangJiKuTitle),
                    onTap: (){
                      YBApplication.router.navigateTo(context, '/workTaiPage/workTaiMiShuTongPage/workTaiMiShuShangJikuPage?type=1');
                    },
                  ),
                ),
                Container(
                  height: YBTextStyle.adapterSize16,
                ),
                Container(
                  height: YBTextStyle.adapterSize58,
                  color: YBColor.white,
                  child: InkWell(
                    child: YBMiShuTongCommonSubPage(imageStr:'mishu_shangjikuManagerImage',titleStr: YBChineseText.workTaiYiHuoGuanLiTitle),
                    onTap: (){
                      YBApplication.router.navigateTo(context,'/workTaiPage/workTaiMiShuTongPage/workTaiMiShuShangjiManagerPage?type=1');
                    },
                  ),
                ),
              ],
            ),
          ),
        ),
    );
  }
}
